<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>就业报名管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
		$(document).ready(function() {
			
		});
		function page(n,s){
			$("#pageNo").val(n);
			$("#pageSize").val(s);
			$("#searchForm").submit();
        	return false;
        }
	</script>
</head>
<body>
	<ul class="nav nav-tabs">
		<li class="active"><a href="${ctx}/jobmesmanage/jobLink/">就业报名列表</a></li>
		<shiro:hasPermission name="jobmesmanage:jobLink:edit"><li><a href="${ctx}/jobmesmanage/jobLink/form">就业信息添加</a></li></shiro:hasPermission>
	</ul>
	<sys:message content="${message}"/>
	<table id="contentTable" class="table table-striped table-bordered table-condensed">
		<thead>
			<tr>
				<th>学生姓名</th>
				<th>就业名称</th>
				<th>报名状态</th>
				<shiro:hasPermission name="jobmesmanage:jobLink:edit"><th>操作</th></shiro:hasPermission>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${page.list}" var="jobLink">
			<tr>
				<td>
						${jobLink.username}
					</a></td>
				<td>
						${jobLink.jobName}
				</td>
				<td>  ${fns:getDictLabel(jobLink.enrollStatus, 'job_auditing', jobLink.id)}
				</td>
				<shiro:hasPermission name="jobmesmanage:jobLink:edit"><td>
					<a href="${ctx}/jobmesmanage/jobLink/form?id=${jobLink.id}">修改</a>
					<a href="${ctx}/jobmesmanage/jobLink/status?id=${jobLink.id}" onclick="return confirmx('确认要审核？', this.href)">审核</a>
					<a href="${ctx}/jobmesmanage/jobLink/delete?id=${jobLink.id}" onclick="return confirmx('确认要删除该报名勤工吗？', this.href)">删除</a>
				</td></shiro:hasPermission>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="pagination">${page}</div>
</body>
</html>